import { userRulesTypes } from './user'
import { workErrorMessages } from './work'

export type globalErrorType = keyof(typeof userRulesTypes & typeof workErrorMessages)

export const globalErrorMessages = {
  ...userRulesTypes,
  ...workErrorMessages
}
